package cn.com.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.com.beans.BatchLine;
import cn.com.mapper.BatchLineMapper;
import cn.com.service.BatchLineService;
@Service
public class BatchLineServiceImpl implements BatchLineService{

    @Resource
    private BatchLineMapper batchLineMapper;

    @Override
    public int deleteByPrimaryKey(Integer baId) {
        return batchLineMapper.deleteByPrimaryKey(baId);
    }

    @Override
    public int insert(BatchLine record) {
        return batchLineMapper.insert(record);
    }

    @Override
    public int insertSelective(BatchLine record) {
        return batchLineMapper.insertSelective(record);
    }

    @Override
    public BatchLine selectByPrimaryKey(Integer baId) {
        return batchLineMapper.selectByPrimaryKey(baId);
    }

    @Override
    public int updateByPrimaryKeySelective(BatchLine record) {
        return batchLineMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BatchLine record) {
        return batchLineMapper.updateByPrimaryKey(record);
    }

    @Override
    public BatchLine findBatch(BatchLine batchLine) {
        return batchLineMapper.findBatch(batchLine);
    }

}
